package com.shunt.service;

import com.shunt.dao.impl.BaseDaoImpl;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by liang on 2017/11/24.
 */
@Service
public class BaseService {
	protected Logger logger = Logger.getLogger(getClass());

	@Autowired
	private BaseDaoImpl baseDao;


	public String getName(int id){
		return  baseDao.getName(id);
	}

}
